package com.edu.buservice.biz.model.Request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.util.List;

/**
 * @program: KQAIA
 * @description:
 * @author: 无恙
 * @create: 2025-04-13 18:44
 **/

@Data
public class TenantRequest {

	// 租户id
	private String tenantId;

	// 租户名称
	@NotBlank(message = "租户名称不能为空")
	@Length(max = 20,message = "租户名称不能超过20个字符")
	private String tenantName;

	// 租户状态
	private Integer status;

	//租户初始化绑定管理员Id
	@Size(max = 5,min = 1,message = "租户初始化绑定管理员Id不能超过5个")
	private List<String> adminId;
}
